package test03;

public class Test {
    public static void main(String[] args) {
        Student[] students = new Student[3];
        students[0] = new Student("zhangsan",69,10);
        students[1] = new Student("lisi",59,20);
        students[2] = new Student("abc",39,5);
        Student.sort(students);
        for (Student student:students) {
            System.out.println(student);
        }
    }
}
